package nl.hu.modellingengine.shared;


import com.google.gwt.user.client.rpc.IsSerializable;

public class ElementType implements IsSerializable {
	
	private String strName;
	private String strImageSource;
	private String strDescription;
	private Boolean bolAcceptChildren;
	private DiagramType diagramType;
	
	public ElementType(){
		
	}
	
	public ElementType(String strName, String strImageSource,String strDescription, Boolean bolAcceptChildren, DiagramType diagramType){
		this.strName = strName;
		this.strImageSource = strImageSource;
		this.strDescription = strDescription;
		this.bolAcceptChildren = bolAcceptChildren;
		this.diagramType = diagramType;
	}

	public void setStrName(String strName) {
		this.strName = strName;
	}

	public String getStrName() {
		return strName;
	}

	public void setStrImageSource(String strImageSource) {
		this.strImageSource = strImageSource;
	}

	public String getStrImageSource() {
		return strImageSource;
	}

	public void setStrDescription(String strDescription) {
		this.strDescription = strDescription;
	}

	public String getStrDescription() {
		return strDescription;
	}
	
	public void setBolAcceptChildren(boolean bolAcceptChildren) {
		this.bolAcceptChildren = bolAcceptChildren;
	}

	public boolean isBolAcceptChildren() {
		return bolAcceptChildren;
	}

	public void setDiagramType(DiagramType diagramType) {
		this.diagramType = diagramType;
	}

	public DiagramType getDiagramType() {
		return diagramType;
	}	
}
